
function init() {
	
}

function getIframePage(event, treeId, treeNode) {
	//alert(treeNode.name);
	var name = treeNode.name;
	if("打卡" == name) {
		$("#mainPage").attr("src", "pages/punch.jsp");
	}
    if("个人薪资"==name){
        $("#mainPage").attr("src", "pages/mySalary.jsp");
    }
    if("部门薪资"==name){
        $("#mainPage").attr("src", "pages/depSalary.jsp");
    }
}

function loadIframePage(pageName) {
	$.get("pages/"+pageName ,function(data) {
		
	});
}